<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>chigraph: chi::DataType Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="chigraphDoxygenIcon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">chigraph
   &#160;<span id="projectnumber">master</span>
   </div>
   <div id="projectbrief">Systems programming language written for beginners in LLVM</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structchi_1_1DataType.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="structchi_1_1DataType-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">chi::DataType Struct Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A type of data Loose wrapper around llvm::Type*, except it knows which <a class="el" href="structchi_1_1ChiModule.html" title="An abstract class that represents a module of code in Chigraph Can be compiled to a llvm::Module...">ChiModule</a> it's in and it embeds debug types.  
 <a href="structchi_1_1DataType.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="DataType_8hpp_source.html">chi/DataType.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a58eb461d78248b61f130ec425aaef0c8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#a58eb461d78248b61f130ec425aaef0c8">DataType</a> (<a class="el" href="structchi_1_1ChiModule.html">ChiModule</a> *chiMod=nullptr, std::string typeName={}, llvm::Type *llvmtype=nullptr, llvm::DIType *debugTy=nullptr)</td></tr>
<tr class="memdesc:a58eb461d78248b61f130ec425aaef0c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#a58eb461d78248b61f130ec425aaef0c8">More...</a><br /></td></tr>
<tr class="separator:a58eb461d78248b61f130ec425aaef0c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d2b86be8cd74291255e8491e548f4de"><td class="memItemLeft" align="right" valign="top">llvm::DIType *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#a0d2b86be8cd74291255e8491e548f4de">debugType</a> () const</td></tr>
<tr class="memdesc:a0d2b86be8cd74291255e8491e548f4de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the debug type.  <a href="#a0d2b86be8cd74291255e8491e548f4de">More...</a><br /></td></tr>
<tr class="separator:a0d2b86be8cd74291255e8491e548f4de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec60eda3711da87c0b0b21392a32152c"><td class="memItemLeft" align="right" valign="top">llvm::Type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#aec60eda3711da87c0b0b21392a32152c">llvmType</a> () const</td></tr>
<tr class="memdesc:aec60eda3711da87c0b0b21392a32152c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the underlying <code>llvm::Type</code>.  <a href="#aec60eda3711da87c0b0b21392a32152c">More...</a><br /></td></tr>
<tr class="separator:aec60eda3711da87c0b0b21392a32152c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41a23985893c9c15c49ed8c9eec9ea9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structchi_1_1ChiModule.html">ChiModule</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#a41a23985893c9c15c49ed8c9eec9ea9c">module</a> () const</td></tr>
<tr class="memdesc:a41a23985893c9c15c49ed8c9eec9ea9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the module this is a part of.  <a href="#a41a23985893c9c15c49ed8c9eec9ea9c">More...</a><br /></td></tr>
<tr class="separator:a41a23985893c9c15c49ed8c9eec9ea9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9fab4c8e69822190df1c28f1793005c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#ae9fab4c8e69822190df1c28f1793005c">qualifiedName</a> () const</td></tr>
<tr class="memdesc:ae9fab4c8e69822190df1c28f1793005c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the qualified name of the type (<a class="el" href="structchi_1_1DataType.html#a41a23985893c9c15c49ed8c9eec9ea9c" title="Get the module this is a part of. ">module()</a>.fullName() + ":" name())  <a href="#ae9fab4c8e69822190df1c28f1793005c">More...</a><br /></td></tr>
<tr class="separator:ae9fab4c8e69822190df1c28f1793005c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83a00e50994b0e126fdf856205a72a1e"><td class="memItemLeft" align="right" valign="top">const std::string &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#a83a00e50994b0e126fdf856205a72a1e">unqualifiedName</a> () const</td></tr>
<tr class="memdesc:a83a00e50994b0e126fdf856205a72a1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the unqualified name of the type.  <a href="#a83a00e50994b0e126fdf856205a72a1e">More...</a><br /></td></tr>
<tr class="separator:a83a00e50994b0e126fdf856205a72a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03384814dde82f88fb097d556cb1da66"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#a03384814dde82f88fb097d556cb1da66">valid</a> () const</td></tr>
<tr class="memdesc:a03384814dde82f88fb097d556cb1da66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the <a class="el" href="structchi_1_1DataType.html" title="A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&#39;s in and it embed...">DataType</a> is valid (if it's actually bound to a type and module)  <a href="#a03384814dde82f88fb097d556cb1da66">More...</a><br /></td></tr>
<tr class="separator:a03384814dde82f88fb097d556cb1da66"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:ad14e85637a15b7f77cbc51d7139ebfd1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#ad14e85637a15b7f77cbc51d7139ebfd1">operator!=</a> (const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;lhs, const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;rhs)</td></tr>
<tr class="memdesc:ad14e85637a15b7f77cbc51d7139ebfd1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Inequality check.  <a href="#ad14e85637a15b7f77cbc51d7139ebfd1">More...</a><br /></td></tr>
<tr class="separator:ad14e85637a15b7f77cbc51d7139ebfd1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28f2089d4e0ce03e737d2a82e473c927"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structchi_1_1DataType.html#a28f2089d4e0ce03e737d2a82e473c927">operator==</a> (const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;lhs, const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;rhs)</td></tr>
<tr class="memdesc:a28f2089d4e0ce03e737d2a82e473c927"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equality check.  <a href="#a28f2089d4e0ce03e737d2a82e473c927">More...</a><br /></td></tr>
<tr class="separator:a28f2089d4e0ce03e737d2a82e473c927"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A type of data Loose wrapper around llvm::Type*, except it knows which <a class="el" href="structchi_1_1ChiModule.html" title="An abstract class that represents a module of code in Chigraph Can be compiled to a llvm::Module...">ChiModule</a> it's in and it embeds debug types. </p>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00017">17</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a58eb461d78248b61f130ec425aaef0c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a58eb461d78248b61f130ec425aaef0c8">&#9670;&nbsp;</a></span>DataType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">chi::DataType::DataType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structchi_1_1ChiModule.html">ChiModule</a> *&#160;</td>
          <td class="paramname"><em>chiMod</em> = <code>nullptr</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>typeName</em> = <code>{}</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">llvm::Type *&#160;</td>
          <td class="paramname"><em>llvmtype</em> = <code>nullptr</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">llvm::DIType *&#160;</td>
          <td class="paramname"><em>debugTy</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">chiMod</td><td>The module </td></tr>
    <tr><td class="paramname">typeName</td><td>The ID of the type in the module </td></tr>
    <tr><td class="paramname">llvmtype</td><td>The underlying type </td></tr>
    <tr><td class="paramname">debugTy</td><td>The debug type for the <a class="el" href="structchi_1_1DataType.html" title="A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&#39;s in and it embed...">DataType</a> </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00023">23</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a0d2b86be8cd74291255e8491e548f4de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d2b86be8cd74291255e8491e548f4de">&#9670;&nbsp;</a></span>debugType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">llvm::DIType* chi::DataType::debugType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the debug type. </p>
<dl class="section return"><dt>Returns</dt><dd>The debug type </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00041">41</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

</div>
</div>
<a id="aec60eda3711da87c0b0b21392a32152c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec60eda3711da87c0b0b21392a32152c">&#9670;&nbsp;</a></span>llvmType()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">llvm::Type* chi::DataType::llvmType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the underlying <code>llvm::Type</code>. </p>
<dl class="section return"><dt>Returns</dt><dd>the <code>llvm::Type</code> </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00038">38</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

</div>
</div>
<a id="a41a23985893c9c15c49ed8c9eec9ea9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41a23985893c9c15c49ed8c9eec9ea9c">&#9670;&nbsp;</a></span>module()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structchi_1_1ChiModule.html">ChiModule</a>&amp; chi::DataType::module </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the module this is a part of. </p>
<dl class="section return"><dt>Returns</dt><dd>The module </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00029">29</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="DataType_8hpp_source.html#l00060">operator==()</a>, and <a class="el" href="DataType_8cpp_source.html#l00008">qualifiedName()</a>.</p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="structchi_1_1DataType_a41a23985893c9c15c49ed8c9eec9ea9c_icgraph.svg" width="100%" height="446"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="ae9fab4c8e69822190df1c28f1793005c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae9fab4c8e69822190df1c28f1793005c">&#9670;&nbsp;</a></span>qualifiedName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string chi::DataType::qualifiedName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the qualified name of the type (<a class="el" href="structchi_1_1DataType.html#a41a23985893c9c15c49ed8c9eec9ea9c" title="Get the module this is a part of. ">module()</a>.fullName() + ":" name()) </p>
<dl class="section return"><dt>Returns</dt><dd>The qualified name </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8cpp_source.html#l00008">8</a> of file <a class="el" href="DataType_8cpp_source.html">DataType.cpp</a>.</p>

<p class="reference">References <a class="el" href="ChiModule_8hpp_source.html#l00061">chi::ChiModule::fullName()</a>, <a class="el" href="DataType_8hpp_source.html#l00029">module()</a>, and <a class="el" href="DataType_8hpp_source.html#l00032">unqualifiedName()</a>.</p>

<p class="reference">Referenced by <a class="el" href="Context_8cpp_source.html#l00269">chi::Context::createConverterNodeType()</a>, <a class="el" href="GraphFunction_8cpp_source.html#l00469">chi::GraphFunction::retypeLocalVariable()</a>, and <a class="el" href="DataType_8hpp_source.html#l00032">unqualifiedName()</a>.</p>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><iframe scrolling="no" frameborder="0" src="structchi_1_1DataType_ae9fab4c8e69822190df1c28f1793005c_cgraph.svg" width="459" height="139"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
</div>
<div id="dynsection-2" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-2-trigger" src="closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-2-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-2-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="structchi_1_1DataType_ae9fab4c8e69822190df1c28f1793005c_icgraph.svg" width="100%" height="427"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a83a00e50994b0e126fdf856205a72a1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83a00e50994b0e126fdf856205a72a1e">&#9670;&nbsp;</a></span>unqualifiedName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const std::string&amp; chi::DataType::unqualifiedName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the unqualified name of the type. </p>
<dl class="section return"><dt>Returns</dt><dd>The unqualified name </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00032">32</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

<p class="reference">References <a class="el" href="DataType_8cpp_source.html#l00008">qualifiedName()</a>.</p>

<p class="reference">Referenced by <a class="el" href="DataType_8hpp_source.html#l00060">operator==()</a>, and <a class="el" href="DataType_8cpp_source.html#l00008">qualifiedName()</a>.</p>
<div id="dynsection-3" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-3-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-3-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-3-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="structchi_1_1DataType_a83a00e50994b0e126fdf856205a72a1e_cgraph.svg" width="100%" height="366"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>
<div id="dynsection-4" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-4-trigger" src="closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-4-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-4-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="structchi_1_1DataType_a83a00e50994b0e126fdf856205a72a1e_icgraph.svg" width="100%" height="396"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<a id="a03384814dde82f88fb097d556cb1da66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03384814dde82f88fb097d556cb1da66">&#9670;&nbsp;</a></span>valid()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool chi::DataType::valid </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Check if the <a class="el" href="structchi_1_1DataType.html" title="A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&#39;s in and it embed...">DataType</a> is valid (if it's actually bound to a type and module) </p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if valid, <code>false</code> otherwise </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00044">44</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

<p class="reference">Referenced by <a class="el" href="GraphStruct_8cpp_source.html#l00068">chi::GraphStruct::addType()</a>, <a class="el" href="FunctionCompiler_8cpp_source.html#l00275">chi::FunctionCompiler::createSubroutineType()</a>, <a class="el" href="GraphStruct_8cpp_source.html#l00111">chi::GraphStruct::dataType()</a>, and <a class="el" href="GraphStruct_8cpp_source.html#l00082">chi::GraphStruct::modifyType()</a>.</p>
<div id="dynsection-5" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-5-trigger" src="closed.png" alt="+"/> Here is the caller graph for this function:</div>
<div id="dynsection-5-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-5-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="structchi_1_1DataType_a03384814dde82f88fb097d556cb1da66_icgraph.svg" width="100%" height="454"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="ad14e85637a15b7f77cbc51d7139ebfd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad14e85637a15b7f77cbc51d7139ebfd1">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Inequality check. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The first <a class="el" href="structchi_1_1DataType.html" title="A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&#39;s in and it embed...">DataType</a> </td></tr>
    <tr><td class="paramname">rhs</td><td>The <a class="el" href="structchi_1_1DataType.html" title="A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&#39;s in and it embed...">DataType</a> to check equality against </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If they aren't equal </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00069">69</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

</div>
</div>
<a id="a28f2089d4e0ce03e737d2a82e473c927"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28f2089d4e0ce03e737d2a82e473c927">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;&#160;</td>
          <td class="paramname"><em>lhs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structchi_1_1DataType.html">DataType</a> &amp;&#160;</td>
          <td class="paramname"><em>rhs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Equality check. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lhs</td><td>The first <a class="el" href="structchi_1_1DataType.html" title="A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&#39;s in and it embed...">DataType</a> </td></tr>
    <tr><td class="paramname">rhs</td><td>The <a class="el" href="structchi_1_1DataType.html" title="A type of data Loose wrapper around llvm::Type*, except it knows which ChiModule it&#39;s in and it embed...">DataType</a> to check equality against </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>If they are equal </dd></dl>

<p class="definition">Definition at line <a class="el" href="DataType_8hpp_source.html#l00060">60</a> of file <a class="el" href="DataType_8hpp_source.html">DataType.hpp</a>.</p>

<p class="reference">References <a class="el" href="DataType_8hpp_source.html#l00029">module()</a>, and <a class="el" href="DataType_8hpp_source.html#l00032">unqualifiedName()</a>.</p>
<div id="dynsection-6" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-6-trigger" src="closed.png" alt="+"/> Here is the call graph for this function:</div>
<div id="dynsection-6-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-6-content" class="dyncontent" style="display:none;">
<div class="center"><div class="zoom"><iframe scrolling="no" frameborder="0" src="structchi_1_1DataType_a28f2089d4e0ce03e737d2a82e473c927_cgraph.svg" width="100%" height="366"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div></div>
</div>

</div>
</div>
<hr/>The documentation for this struct was generated from the following files:<ul>
<li>lib/core/include/chi/<a class="el" href="DataType_8hpp_source.html">DataType.hpp</a></li>
<li>lib/core/src/<a class="el" href="DataType_8cpp_source.html">DataType.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacechi.html">chi</a></li><li class="navelem"><a class="el" href="structchi_1_1DataType.html">DataType</a></li>
    <li class="footer">Generated on Sat Sep 16 2017 17:41:35 for chigraph by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
